Parameters
- input
- An array of bytes to compress.
- startIndex
- The index in the byte array the compression algorith should start working at.
- count
- The total number of bytes from the byte array that should be compressed.
- output
- The stream to write the compressed data to.
- compressionLevel
- The compression level to apply.
- closeOutputStream
- Determines whether to close the output stream when the compression has finished or not.